<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<c:if test="${i < 10}">
	${i}<br />
	<c:set var="i" value="${i+1}" scope="request"></c:set>
	<jsp:include page="test-list-item.jsp"></jsp:include>
</c:if>